# name : Expected number of events of TTE: eEvents (gsDesign)
# key : gsDesign.eEvents
# contributor: Shuguang Sun
# --
eEvents(
  # by time period (rows) and strata (columns)
  lambda = ${1:log(2) / 1}, # hazard rate
  eta = ${2:0},             # drop rate
  gamma = ${3:1},           # rates of entry
  R = ${4:1},               # durations for recruitment rates
  S = NULL,                 # durations of piecewise
  T = ${5:2},               # time of analysis
  Tfinal = NULL,            # Study duration
  minfup = ${6:0},
  digits = 4
)
